﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AttachedObjectExtensions.cs" company="JDML Consulting Ltd.">
//   Copyright 2011 Photon Project - http://photon.codeplex.com
// </copyright>
// <summary>
//   Defines the AttachedObjectExtensions type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Photon.Infrastructure
{
    using System.Windows.Interactivity;

    public static class AttachedObjectExtensions
    {
        public static IAttachedObject AsAttached<T>(this T instance) where T : IAttachedObject
        {
            return instance;
        }
    }
}
